import { get, post, remove, put } from '@/server/request'
import { baseApi, RequestCode } from '@/server/base'

export const Togging = {
  /**
   * 查询数据
   * @param params 
   * @returns 
   */
  imageList(params: { id: string | number, current: number, size: number, state:number, startTime: string, endTime: string }) {
    return get(`${baseApi}/photoList/getImageByPhotoListId/${params.id}/${params.current}/${params.size}`,{state:params.state});
  },

}
